home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / programming / c / dicepj20.lha / diceproject / sources / include / resources.h < prev   
Encoding:
C/C++ Source or Header  |  1993-06-06  |  1.6 KB  |  85 lines

  1.  
  2. #include <exec/nodes.h>
  3. #include <libraries/iffparse.h>
  4.  
  5. #define ID_SCRN     MAKE_ID('S','C','R','N')
  6.  
  7.     /* Id for inside SRES : Screen Resources */
  8.  
  9. #define ID_PUBN     MAKE_ID('P','U','B','N')
  10. #define ID_TAGS     MAKE_ID('T','A','G','S')
  11. #define ID_PENS     MAKE_ID('P','E','N','S')
  12. #define ID_CLR2     MAKE_ID('C','L','R','S')
  13. #define ID_CLR4     MAKE_ID('C','L','R','N')
  14. #define ID_FONT     MAKE_ID('F','O','N','T')
  15.  
  16. #define ID_COPT     MAKE_ID('C','O','P','T')
  17. #define ID_LOPT     MAKE_ID('L','O','P','T')
  18. #define ID_DIRS     MAKE_ID('D','I','R','S')
  19. #define ID_MODS     MAKE_ID('M','O','D','S')
  20. #define ID_PROJ     MAKE_ID('P','R','O','J')
  21. #define ID_PREF     MAKE_ID('P','R','E','F')
  22. #define ID_WPOS     MAKE_ID('W','P','O','S')
  23.  
  24. struct Resource {
  25.     struct Node node;
  26.     void *idata;
  27.     void *fdata;
  28.     void *edata;
  29. };
  30.  
  31. #define RSCREEN     0x001
  32.  
  33. struct ExtScr {
  34.     struct TextFont *Font;
  35.     struct VisualInfo *VisualInfo;
  36.     char *PubName;
  37. };
  38.  
  39. struct RScreen {
  40.     struct Node res;
  41.     struct TagItem *idata;
  42.     struct Screen *fdata;
  43.     struct ExtScr *edata;
  44. };
  45.  
  46. struct ExtWin {
  47.     struct TextFont *Font;
  48. };
  49.  
  50. struct RWindow {
  51.     struct Node res;
  52.     struct TagItem *idata;
  53.     struct Window *fdata;
  54.     struct ExtWin *edata;
  55. };
  56.  
  57. struct ExtMenu {
  58.     struct TextFont *Font;
  59. };
  60.  
  61. struct RMenu {
  62.     struct Node res;
  63.     struct NewMenu *idata;
  64.     struct Menu *fdata;
  65.     struct ExtMenu *edata;
  66. };
  67.  
  68. struct SuperGadg {
  69.     long type;
  70.     struct NewGadget *ng;
  71.     struct TagItem *ti;
  72. };
  73.  
  74. struct ExtGadg {
  75.     struct TextFont *Font;
  76. };
  77.  
  78. struct RGadget {
  79.     struct Node res;
  80.     struct SuperGadg *idata;
  81.     struct Gadget *fdata;
  82.     struct ExtGadg *edata;
  83. };
  84.  
  85.